package com.zp.common.redis.CustomRedissonLockExecutor;

import com.baomidou.lock.DefaultLockKeyBuilder;
import org.springframework.beans.factory.BeanFactory;
import org.springframework.stereotype.Component;

/**
 * @program: zp-backstage
 * @ClassName CustomKeyBuilder
 * @description: 自定义分布式锁key生成器
 * @author: zhangpeng
 * @create: 2023-10-28 15:32
 * @Version 1.0
 **/

@Component
public class CustomKeyBuilder extends DefaultLockKeyBuilder {

    public CustomKeyBuilder (BeanFactory beanFactory) {
        super(beanFactory);
    }
}
